obj-m += 1_gpio_irq.o
1_gpio_irq-y = 01_gpio_做中断源.o

obj-m += 2_gpio_bottom_half.o
2_gpio_bottom_half-y = 02_gpio_中断处理_botom_half底半部.o

obj-m += 3_irq_request_threaded_irq.o
3_irq_request_threaded_irq-y = 03_gpio_中断处理_request_threaded_irq_顶半部_底半部_处理.o

PWD := $(CURDIR)
all:
	$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
	$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean